#ifndef UI_CONFIG_H
#define UI_CONFIG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

class Ui_Config
{
public:
    QVBoxLayout *vboxLayout;
    QTabWidget *tabsConfig;
    QWidget *tabEditing;
    QVBoxLayout *vboxLayout1;
    QGroupBox *chkMudFriendly;
    QVBoxLayout *vboxLayout2;
    QLabel *label_2;
    QHBoxLayout *hboxLayout;
    QLabel *label;
    QSpinBox *edWrap;
    QSpacerItem *spacerItem;
    QLabel *label_3;
    QHBoxLayout *hboxLayout1;
    QLabel *label_4;
    QSpinBox *edIndent;
    QSpacerItem *spacerItem1;
    QHBoxLayout *hboxLayout2;
    QSpacerItem *spacerItem2;
    QPushButton *okButton;
    QPushButton *cancelButton;

    void setupUi(QDialog *Config)
    {
    Config->setObjectName(QString::fromUtf8("Config"));
    Config->setEnabled(true);
    Config->resize(QSize(400, 322).expandedTo(Config->minimumSizeHint()));
    vboxLayout = new QVBoxLayout(Config);
    vboxLayout->setSpacing(6);
    vboxLayout->setMargin(9);
    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
    tabsConfig = new QTabWidget(Config);
    tabsConfig->setObjectName(QString::fromUtf8("tabsConfig"));
    tabsConfig->setTabPosition(QTabWidget::North);
    tabsConfig->setTabShape(QTabWidget::Rounded);
    tabEditing = new QWidget();
    tabEditing->setObjectName(QString::fromUtf8("tabEditing"));
    vboxLayout1 = new QVBoxLayout(tabEditing);
    vboxLayout1->setSpacing(6);
    vboxLayout1->setMargin(9);
    vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
    chkMudFriendly = new QGroupBox(tabEditing);
    chkMudFriendly->setObjectName(QString::fromUtf8("chkMudFriendly"));
    chkMudFriendly->setCheckable(true);
    vboxLayout2 = new QVBoxLayout(chkMudFriendly);
    vboxLayout2->setSpacing(6);
    vboxLayout2->setMargin(9);
    vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
    label_2 = new QLabel(chkMudFriendly);
    label_2->setObjectName(QString::fromUtf8("label_2"));
    label_2->setWordWrap(true);

    vboxLayout2->addWidget(label_2);

    hboxLayout = new QHBoxLayout();
    hboxLayout->setSpacing(6);
    hboxLayout->setMargin(0);
    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
    label = new QLabel(chkMudFriendly);
    label->setObjectName(QString::fromUtf8("label"));

    hboxLayout->addWidget(label);

    edWrap = new QSpinBox(chkMudFriendly);
    edWrap->setObjectName(QString::fromUtf8("edWrap"));
    edWrap->setMaximum(79);
    edWrap->setMinimum(50);
    edWrap->setValue(79);

    hboxLayout->addWidget(edWrap);

    spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

    hboxLayout->addItem(spacerItem);


    vboxLayout2->addLayout(hboxLayout);

    label_3 = new QLabel(chkMudFriendly);
    label_3->setObjectName(QString::fromUtf8("label_3"));
    label_3->setWordWrap(true);

    vboxLayout2->addWidget(label_3);

    hboxLayout1 = new QHBoxLayout();
    hboxLayout1->setSpacing(6);
    hboxLayout1->setMargin(0);
    hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
    label_4 = new QLabel(chkMudFriendly);
    label_4->setObjectName(QString::fromUtf8("label_4"));

    hboxLayout1->addWidget(label_4);

    edIndent = new QSpinBox(chkMudFriendly);
    edIndent->setObjectName(QString::fromUtf8("edIndent"));
    edIndent->setMaximum(10);

    hboxLayout1->addWidget(edIndent);

    spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

    hboxLayout1->addItem(spacerItem1);


    vboxLayout2->addLayout(hboxLayout1);


    vboxLayout1->addWidget(chkMudFriendly);

    tabsConfig->addTab(tabEditing, QApplication::translate("Config", "Editing", 0, QApplication::UnicodeUTF8));

    vboxLayout->addWidget(tabsConfig);

    hboxLayout2 = new QHBoxLayout();
    hboxLayout2->setSpacing(6);
    hboxLayout2->setMargin(0);
    hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
    spacerItem2 = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);

    hboxLayout2->addItem(spacerItem2);

    okButton = new QPushButton(Config);
    okButton->setObjectName(QString::fromUtf8("okButton"));

    hboxLayout2->addWidget(okButton);

    cancelButton = new QPushButton(Config);
    cancelButton->setObjectName(QString::fromUtf8("cancelButton"));

    hboxLayout2->addWidget(cancelButton);


    vboxLayout->addLayout(hboxLayout2);

    label->setBuddy(edWrap);
    label_4->setBuddy(edIndent);
    retranslateUi(Config);
    QObject::connect(okButton, SIGNAL(clicked()), Config, SLOT(accept()));
    QObject::connect(cancelButton, SIGNAL(clicked()), Config, SLOT(reject()));

    QMetaObject::connectSlotsByName(Config);
    } // setupUi

    void retranslateUi(QDialog *Config)
    {
    Config->setWindowTitle(QApplication::translate("Config", "MUDpad Configuration", 0, QApplication::UnicodeUTF8));
    chkMudFriendly->setTitle(QApplication::translate("Config", "MUDfriendly Copy/Paste", 0, QApplication::UnicodeUTF8));
    label_2->setText(QApplication::translate("Config", "When copying, MUDpad will automatically convert the text so that it conforms to the limitations of the in-game editors.", 0, QApplication::UnicodeUTF8));
    label->setText(QApplication::translate("Config", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Wrap at column: </span></p></body></html>", 0, QApplication::UnicodeUTF8));
    label_3->setText(QApplication::translate("Config", "Additionally, if you like to have your text indented automatically by a few spaces, select a value here. Please keep in mind that indents are supposed to be small number, usually between 1 and 5 characters. If you make it too large it begins to look ridiculous.\n"
"\n"
"This is IN ADDITION to the column wrapping, above.", 0, QApplication::UnicodeUTF8));
    label_4->setText(QApplication::translate("Config", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Leading space:</span></p></body></html>", 0, QApplication::UnicodeUTF8));
    tabsConfig->setTabText(tabsConfig->indexOf(tabEditing), QApplication::translate("Config", "Editing", 0, QApplication::UnicodeUTF8));
    okButton->setText(QApplication::translate("Config", "OK", 0, QApplication::UnicodeUTF8));
    cancelButton->setText(QApplication::translate("Config", "Cancel", 0, QApplication::UnicodeUTF8));
    Q_UNUSED(Config);
    } // retranslateUi

};

namespace Ui {
    class Config: public Ui_Config {};
} // namespace Ui

#endif // UI_CONFIG_H
